/**
 * @projectName spring-boot-examples-master
 * @package com.leo.springboot.controller
 * @className com.leo.springboot.controller.TestController
 * @copyright Copyright 2020 XiaoFeiPeng, Inc All rights reserved.
 */
package com.leo.springboot.controller;

import com.leo.springboot.service.TestService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * TestController
 * @description
 * @author jiangyunfei
 * @date 2023/11/16 10:55
 * @version 1.0
 */
@RestController
public class TestController {

    @Resource
    private TestService testService;


    @PostMapping("/dealActivity")
    public String dealActivity(Integer code){
        return testService.test(code);
    }
}
